package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.ShoppingCar;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.ShoppingCarQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IShoppingCarService {

    int deleteByPrimaryKey(Long id);

    int save(ShoppingCar shoppingCar);

    ShoppingCar selectByPrimaryKey(Long id);

    List<ShoppingCar> selectAll();

    int updateByPrimaryKey(ShoppingCar shoppingCar);

    PageInfo query(QueryObject qo);

    List<ShoppingCar> getShoppingCarList(Long[] ids);
}
